package week5;

public class MCache implements CacheInterface{
    private MemcachedClient memcachedClient;// = new MemcachedClient();
    public MCache(){
        this.memcachedClient = new MemcachedClient();
    }
    public MCache(MemcachedClient memcachedClient){
        this.memcachedClient = memcachedClient;
    }
    public void read(){
        memcachedClient.readMemcache();
    }
    public void write(){
        memcachedClient.writeMemcache();
    }
}